package auto.app.controller.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("注册信息")
public class AccountRegisterFrom {
    /**
     * 用户名
     */
    @NotEmpty(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String accountName;

    /**
     * 用户密码
     */
    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String accountPass;
}
